package com.dog.basics.service.common;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dog.basics.bean.dto.admin.common.GuidePageAddDto;
import com.dog.basics.bean.dto.admin.common.GuidePageEditDto;
import com.dog.basics.bean.dto.admin.common.GuidePageFromDto;
import com.dog.basics.bean.model.common.DogGuidePage;
import com.dog.basics.bean.vo.admin.common.GuidePageVo;
import com.dog.basics.bean.vo.api.common.ApiGuidePageVo;
import com.dog.basics.common.util.PageParam;

import java.util.List;

/**
 * <p>
 * 引导页和启动页 服务类
 * </p>
 *
 * @author wph
 * @since 2020-05-27
 */
public interface IDogGuidePageService extends IService<DogGuidePage> {

    /**
     * @Description: 分页引导页和启动页
     * @Param: status
     * @return: IPage<GuidePageVo>
     * @Author: wph
     * @Date:
     */
    IPage<GuidePageVo> getPageList(PageParam page, GuidePageFromDto obj);
    /**
     * @Description: APi引导页和启动页
     * @Param: status
     * @return: IPage<GuidePageVo>
     * @Author: wph
     * @Date:
     */
    List<ApiGuidePageVo> getApiList(GuidePageFromDto obj);

    /**
     * @Description: 增加引导页和启动页
     * @Param: obj
     * @return: Boolean
     * @Author: wph
     * @Date: 2020/05/19  0027
     */
    Boolean saveObj(GuidePageAddDto obj);

    /**
     * @Description: 修改引导页和启动页
     * @Param: obj
     * @return: Boolean
     * @Author: wph
     * @Date: 2020/05/19  0027
     */
    Boolean editObj(GuidePageEditDto obj);

    /**
     * @Description: 删除引导页和启动页
     * @Param: ids
     * @return: Boolean
     * @Author: wph
     * @Date: 2020/05/19  0027
     */
    Boolean deleteObj(List<Long> id);
}